package cn.lopr.im.api.dao;

import cn.lopr.im.api.bean.Friend;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "friendMapper")
public interface FriendMapper {
    int insert(Friend record);

    int insertSelective(Friend record);

    Friend selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Friend record);

    int updateByPrimaryKey(Friend record);

    List<Friend> selectByRecord(Friend record);
}